package cn.edu.sdjzu.xg.eagle.dao;

import cn.edu.sdjzu.xg.eagle.entity.User;

import java.sql.Connection;
import java.sql.SQLException;

public interface UserDaoInterface {
    User find(Long id)throws SQLException;
    boolean add(Connection connection,User user)throws SQLException;
    boolean delete(Connection connection,Long id)throws SQLException;
    void login(Connection connection,User user)throws SQLException;
}
